﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login_Bak.aspx.cs" Inherits="TimKen.Web.Admin.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=GetLangString("ManagementCenter")%></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="styles/general.css" rel="stylesheet" type="text/css" />
    <link href="styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnLogin">
    <table cellspacing="0" cellpadding="0" style="margin-top: 100px" align="center">
        <tr>
            <td align="right">
                <%=GetLangString("ChooseLang")%>：
            </td>
            <td>
                <asp:DropDownList ID="ddlLanguage" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                <%=GetLangString("AdminName")%>：
            </td>
            <td>
                <asp:TextBox ID="username" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                <%=GetLangString("AdminPassword")%>：
            </td>
            <td>
                <asp:TextBox TextMode="Password" ID="password" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                <%=GetLangString("Validator")%>：
            </td>
            <td>
                <asp:TextBox ID="txtCheckCode" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <img src="/ashx/ValidateCode.ashx" id="code" alt="CAPTCHA" border="1" onclick="this.src='/ashx/ValidateCode.ashx?stamp='+Math.random()"
                    style="cursor: pointer;" title='<%=GetLangString("ChangeValidator") %>' />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;<asp:Label ID="Msg" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <asp:Button ID="btnLogin" runat="server" class="button" OnClick="btnLogin_Click"
                    UseSubmitBehavior="true" />
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <a href="/Index.aspx">
                    <%=GetLangString("ReturnHome")%></a>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
